addItemBefore
Type
property
Summary
Adds one or more items before item index itemPointer.
Syntax
set the addItemBefore of widget to <list>
Description
Use the addItemBefore property to add one or more items before the item pointed by itemPointer to the list. This property will always return an empty string.
Examples
-- Adds two new items at the beginning of the list
set the itemPointer of widget "PolyList" to 1
set the addItemBefore of widget "PolyList" to [{"title":"One"},{"title":"Two"}]
Related
property: itemPointer, addData, addItemAfter